//
//  CachingProvider.h
//  iPhoneMyRailApp
//
//  Created by Dinah Challen on 29/10/2008.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define CACHE_EXPIRE_TIME 30


@interface CachedURLContents : NSObject {
	NSDate *lastUpdate;
	NSString *cachedURL;
	id cachedValue;
}

@property (nonatomic, retain) NSDate *lastUpdate;
@property (nonatomic, retain) id cachedURL;
@property (nonatomic, retain) id cachedValue;

- (BOOL) isInCache:(NSString*)url;
- (id) cacheURL:(NSString*)url value:(id)v;

@end
